﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Text;

namespace ProductContract
{
    public partial class NewRequest : System.Web.UI.Page
    {

        protected void Page_Load(object sender, EventArgs e)
        {
            UserInfo1.PreRender += new EventHandler(UserInfo1_PreRender);
        }

        void UserInfo1_PreRender(object sender, EventArgs e)
        {
            if (((Label)UserInfo1.FindControl("fld_DEPARTMENT")).Text.Contains("采购"))
            {
                this.fld_TCONTRACTTYPE.Items.Add(new ListItem("工程设备类", "工程设备类"));
            }
        }


    }
}